package com.my.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.my.admin.entity.Article;
import org.apache.ibatis.annotations.Param;

public interface ArticleMapper extends BaseMapper<Article> {

    IPage<Article> getList(IPage<Article> page, @Param("article") Article article);

    IPage<Article> apiList(IPage<Article> page);

    Article apiById(Long id);

    int plusViews(Long id);

}
